package _2025_3_14;

public class Lazy {
    public volatile static Lazy instance=null;
    private Lazy(){};
    public  static Lazy getInstance() {
        if (instance==null) {
            synchronized (Lazy.class) {
                if (instance == null) {
                    instance = new Lazy();
                }
            }
        }
            return instance;
    }
}
